my_list2=[200,388,123,456,987,342,767,246,124,345,135,234]

begin=int(input())
end=int(input())
if begin < 1 or end > 12 or begin > end:
    print(f"{begin} ~ {end} 输入非法")
    exit(-1)

print(round(sum(my_list2[begin-1:end:1])/(end-begin+1)))
